package com.monitor.entity.request.company;

import com.monitor.entity.request.BaseEntityRequest;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;

/**
 * 企业表.
 *
 * @author Li Zhiyuan
 * @since 2020-11-16
 */
@Data
@ApiModel("企业")
public class CompanyRequest extends BaseEntityRequest {
    @NotEmpty(message = "企业名称不能为空")
    @ApiModelProperty(value = "企业名称")
    private String name;
}
